/*
 * @Author: your name
 * @Date: 2021-09-29 19:59:27
 * @LastEditTime: 2021-10-07 10:09:27
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /process/src/api/event.js
 */
import request from '@/utils/request'

/**
 * @description: 事件上报存草稿
 * @param {*} param
 * @return {*}
 */
export function getModelMap (params) {
  return request({
    url: '/event/type/system/modelMap',
    method: 'post',
    params
  })
}

/**
 * @description: 获取行政区划树
 * @param {*} params
 * @return {*}
 */
export function getDistrictTree (params) {
  return request({
    url: '/sys/district/findNextChildNodeTreeAll',
    method: 'get',
    params
  })
}

/**
 * @description: 获取以下的行政区划树
 * @param {*} params
 * @return {*}
 */
export function NextgetDistrictTree (params) {
  return request({
    url: '/sys/district/findNextChildNodeTreeAllByPid',
    method: 'get',
    params
  })
}
